package cn.fsd.service;

import cn.fsd.domain.Customer;
import cn.fsd.exception.CustomerException;
import cn.fsd.query.customer.CustomerQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface CustomerService {
    PageInfo<Customer> findByConditionByPage(CustomerQuery customerQuery);

    List<String> completeInfo();

    void addCustomer(Customer customer) throws CustomerException;


    void deleteCustomer(String id) throws CustomerException;


    void updateCustomer(Customer customer) throws CustomerException;

    Customer getCustomer(String id);

}
